<!-- 关于作者 -->
<?php
include './app-begin.php';
include __DIR__ . '/../Model/Config.php';
include __DIR__ . '/../Model/DB.php';
$fetch = new Fetch($config);
$data = $fetch->fetchIndentById($_GET['order_id']);
?>
<main class="body-data">
    <div class="panel_modify">
        <div class="panel_cancel_modify">返回</div>
        <form action="../Model/IndentModify.php" method="post">
            <div class="all_form_modify">
                <input type="hidden" name="order_id" value=<?php echo $data['order_id'] ?>>
                <input type="text" name="order_no" required placeholder="请输入订单单号此项为必填项！" value=<?php echo $data['order_no']
                                                                                                ?>>
                <input type="text" name="order_status" required placeholder="请输入点单状态次项为必填项！"
                    value=<?php echo
                                                                                                    $data['order_status'] ?>>
                <input type="text" name="order_amount_total" required placeholder="请输入订单总金额此项为必填项！"
                    value=<?php echo
                                                                                                            $data['order_amount_total'] ?>>
                <input type="text" name="logistics_fee" placeholder="请输入运费金额"
                    value=<?php echo $data['logistics_fee'] ?>>
                <input type="text" name="pay_channel" placeholder="请输入支付渠道" value=<?php echo $data['pay_channel'] ?>>
                <input type="text" name="payment_time" placeholder="请输入付款时间" value=<?php echo $data['payment_time'] ?>>
                <input type="text" name="delivery_time" placeholder="请输发入货时间"
                    value=<?php echo $data['delivery_time'] ?>>
            </div>
            <div class="all_button_modify">
                <button class="panel_reset_modify" type="reset">重置</button>
                <button class="panel_submit_modify" type="submit">修改</button>
            </div>
        </form>
    </div>
</main>
<script src="../assets/js/indent.js"></script>
<?php
include './app-end.php';
?>